package com.chixing.pojo;

public class JobAndCompany {
    private JobDetail jobDetail;
    private CompanyDetail companyDetail;

    public JobAndCompany() {
    }
    public JobAndCompany(JobDetail jobDetail, CompanyDetail companyDetail) {
        this.jobDetail = jobDetail;
        this.companyDetail = companyDetail;
    }


    public JobDetail getJobDetail() {
        return jobDetail;
    }

    public void setJobDetail(JobDetail jobDetail) {
        this.jobDetail = jobDetail;
    }

    public CompanyDetail getCompanyDetail() {
        return companyDetail;
    }

    public void setCompanyDetail(CompanyDetail companyDetail) {
        this.companyDetail = companyDetail;
    }

    @Override
    public String toString() {
        return "JobDetailCompanyDetail{" +
                "jobDetail=" + jobDetail +
                ", companyDetail=" + companyDetail +
                '}';
    }
}
